package com.ruoyi.travel.mapper;

import java.util.List;
import java.util.Map;
import com.ruoyi.travel.domain.TravelReview;

/**
 * 评价Mapper接口
 * 
 * @author ruoyi
 */
public interface TravelReviewMapper
{
    public TravelReview selectTravelReviewById(Long reviewId);
    public List<TravelReview> selectTravelReviewList(TravelReview travelReview);
    public List<TravelReview> selectTravelReviewListByProductId(Long productId);
    public Map<String, Object> selectTravelReviewStatsByProductId(Long productId);
    public int insertTravelReview(TravelReview travelReview);
    public int updateTravelReview(TravelReview travelReview);
    public int deleteTravelReviewById(Long reviewId);
    public int deleteTravelReviewByIds(Long[] reviewIds);
}

